package com.wchen.gdoc.generate.config;

/**
 * 常量
 *
 * @author  wchen
 * @date    2019/11/11
 */
public class Constant {

    //文档项目配置
    public final static String DOCUMENT_PRE_URL = "gdoc.document.preurl";
    public final static String DOCUMENT_HEADER = "gdoc.document.header";
    public final static String DOCUMENT_PROJECT_NAME = "gdoc.document.projectName";
    public final static String DOCUMENT_MODULE_NAME = "gdoc.document.moduleName";
    public final static String DOCUMENT_CONTENT_TEMPLATE = "gdoc.document.contentTemplate";

    //参数相关解析器配置
    public final static String CORE_TYPE_RESOLVER_CHAIN = "gdoc.core.typeResolverChain";
    public final static String CORE_PARAM_PRODUCER = "gdoc.core.paramValueProducer";
    public final static String CORE_DATA_PROCESSOR = "gdoc.core.processor";
    public final static String CORE_DOC_ANALYSIS_CHAIN = "gdoc.core.docAnalysisChain";
    public final static String CORE_DEBUG_ENABLE = "gdoc.core.debug.enable";

    //目标项目类路径
    public final static String TARGET_BASE_CLASS_PATH = "gdoc.target.targetClassPath";
    public final static String TARGET_SCAN_PATH = "gdoc.target.targetScanPath";
    public final static String TARGET_PROJECT_PATH = "gdoc.target.targetProjectPath";
    public final static String TARGET_ENTITY_PACKAGE = "gdoc.target.entityPackage";
    public final static String TARGET_FILTER_ENTITY= "gdoc.target.filter.entity";

    //sql相关
    public final static String SQL_PROJECT_SELECT_ID = "sql.project.selectId";
    public final static String SQL_MODULE_SELECT_ID = "sql.module.selectId";
    public final static String SQL_CLASS_SELECT_ID = "sql.class.selectId";
    public final static String SQL_METHOD_SELECT_ID = "sql.method.selectId";
    //insert
    public final static String SQL_CLASS_INSERT = "sql.class.insert";
    public final static String SQL_METHOD_INSERT = "sql.method.insert";

}
